package car.aistar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserCollect)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:31:18
 */
public class UserCollect implements Serializable {
    private static final long serialVersionUID = 998703937988573162L;
    /**
     * 收藏表id
     */
    private Long id;
    /**
     * 用户id
     */
    private Long uId;
    /**
     * 收藏的车id
     */
    private Long cId;
    /**
     * 车辆图片
     */
    private String cPhoto;
    /**
     * 收藏时间
     */
    private Date addTime;


public Long getId() {
    return id;
}

public void setId(Long id) {
    this.id = id;
}

public Long getUId() {
    return uId;
}

public void setUId(Long uId) {
    this.uId = uId;
}

public Long getCId() {
    return cId;
}

public void setCId(Long cId) {
    this.cId = cId;
}

public String getCPhoto() {
    return cPhoto;
}

public void setCPhoto(String cPhoto) {
    this.cPhoto = cPhoto;
}

public Date getAddTime() {
    return addTime;
}

public void setAddTime(Date addTime) {

    this.addTime = addTime;
}

@Override
public String toString (){
    final StringBuilder sb = new StringBuilder("UserCollect{");
    sb.append("id=").append(id);
    sb.append(", uId=").append(uId);
    sb.append(", cId=").append(cId);
    sb.append(", cPhoto='").append(cPhoto).append('\'');
    sb.append(", addTime=").append(addTime);
    sb.append('}');
    return sb.toString();
}
}